package net.wang.gmall.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

import java.io.IOException;

@SpringBootApplication
@ImportResource(locations = {"classpath:consumer.xml"})
public class OrderServiceConsumerApplication {

    public static void main(String[] args) throws IOException {
        SpringApplication.run(OrderServiceConsumerApplication.class, args);
        System.in.read();
    }
}
